package com.firewolf.service.mains;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.firewolf.s03.service.UserService;

public class CheckConsumer {
	@SuppressWarnings("resource")
	public static void main(String[] args) throws Exception {

		ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(new String[] { "consumer.xml" });
		UserService bean = ctx.getBean(UserService.class);
		System.out.println(bean.findUsers());
	}
}
